﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CenyLetu
{
    abstract class CenaDekorator : ICena
    {
        private ICena component;
        
        public CenaDekorator(ICena c)
        {
            this.component = c;
        }
        
        public virtual decimal GetCena()
        {
            return component.GetCena();
        }
    }
}
